home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccuuuutttt((((1111)))) ccccuuuutttt((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- _cccc_uuuu_tttt - cut out selected fields of each line of a file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _cccc_uuuu_tttt _----_bbbb _l_i_s_t [_----_nnnn] [_f_i_l_e . . .]
- _cccc_uuuu_tttt _----_cccc _l_i_s_t _[[[[_f_i_l_e _...._...._...._]]]]
- _cccc_uuuu_tttt _----_ffff _l_i_s_t [_----_dddd _c_h_a_r] [_----_ssss] [_f_i_l_e . . .]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Use _cccc_uuuu_tttt to cut out columns from a table or fields from each line of a
- file; in data base parlance, it implements the projection of a relation.
- The fields as specified by _l_i_s_t can be fixed length, that is, character
- positions as on a punched card (_----_cccc option) or the length can vary from
- line to line and be marked with a field delimiter character like _t_a_b (_----_ffff
- option). _cccc_uuuu_tttt can be used as a filter; if no files are given, the
- standard input is used. A file name of ``_----'' explicitly refers to
- standard input.
-
- _cccc_uuuu_tttt processes supplementary code set characters, and recognizes
- supplementary code set characters in the _c_h_a_r given to the _----_dddd option (see
- below) according to the locale specified in the _LLLL_CCCC______CCCC_TTTT_YYYY_PPPP_EEEE environment
- variable [see _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5)]. For special treatment of multibyte
- characters, see the _----_cccc_l_i_s_t option below.
-
- The meanings of the options are:
-
- _l_i_s_t A comma-separated list or blank-separated list of positive
- numbers and ranges. Ranges have three forms. The first is two
- positive integers separated by a hyphen (_l_o_w-_h_i_g_h), which
- represents all fields from _l_o_w to _h_i_g_h. The second is a
- positive number preceded by a hyphen (-_h_i_g_h), which represents
- all fields from field _1 to _h_i_g_h. The last is a positive number
- followed by a hyphen (_l_o_w-), which represents all fields from
- _l_o_w to the last field, inclusive. Elements in the list can be
- repeated, can overlap, and can appear in any order.
-
- _----_bbbb _l_i_s_t Cut based on a _l_i_s_t of bytes. Each selected byte will be output
- unless the -_n option is also specified. Bytes specified need
- not be present in the input.
-
- _----_cccc _l_i_s_t Cut based on a _l_i_s_t of characters. Each selected character will
- be output. Characters specified need not be present in the
- input.
-
- _----_dddd The character following _----_dddd is the field delimiter (_----_ffff option
- only). Default is _t_a_b. Space or other characters with special
- meaning to the shell must be quoted. _c_h_a_r may be a
- supplementary code set character.
-
- _----_ffff_l_i_s_t The _l_i_s_t following _----_ffff is a list of fields assumed to be
- separated in the file by a delimiter character (see _----_dddd ); for
- example, _----_ffff_1111_,,,,_7777 copies the first and seventh field only. Lines
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ccccuuuutttt((((1111)))) ccccuuuutttt((((1111))))
-
-
-
- with no field delimiters will be passed through intact (useful
- for table subheadings), unless _----_ssss is specified. Fields
- specified need not be present in the input.
-
- _----_nnnn Do not split characters. When specified with the -_b option, all
- characters ending within the range are passed to the output.
-
- _----_ssss Suppresses lines with no delimiter characters in case of _----_ffff
- option. Unless specified, lines with no delimiters will be
- passed through untouched.
-
- Either the _----_cccc or _----_ffff option must be specified.
-
- Use _gggg_rrrr_eeee_pppp(1) to make horizontal ``cuts'' (by context) through a file, or
- _pppp_aaaa_ssss_tttt_eeee(1) to put files together column-wise (that is, horizontally). To
- reorder columns in a table, use _cccc_uuuu_tttt and _pppp_aaaa_ssss_tttt_eeee.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- _cccc_uuuu_tttt _----_dddd_:::: _----_ffff_1111_,,,,_5555 _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd
- mapping of user IDs to names
-
- _nnnn_aaaa_mmmm_eeee_====_````_wwww_hhhh_oooo _aaaa_mmmm _iiii _|||| _cccc_uuuu_tttt _----_ffff_1111 _----_dddd_"""" _""""_````
- to set _nnnn_aaaa_mmmm_eeee to current login name.
-
- FFFFIIIILLLLEEEESSSS
- _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_llll_oooo_cccc_aaaa_llll_eeee_////_l_o_c_a_l_e_////_LLLL_CCCC______MMMM_EEEE_SSSS_SSSS_AAAA_GGGG_EEEE_SSSS_////_uuuu_xxxx_cccc_oooo_rrrr_eeee
- language-specific message file [See _LLLL_AAAA_NNNN_GGGG on _eeee_nnnn_vvvv_iiii_rrrr_oooo_nnnn(5).]
-
- EEEEXXXXTTTTEEEENNNNDDDDEEEEDDDD DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- X/Open CAE Specification(1994)--Commands and Utilities.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _gggg_rrrr_eeee_pppp(1), _pppp_aaaa_ssss_tttt_eeee(1)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _UUUU_XXXX_::::_cccc_uuuu_tttt_::::_EEEE_RRRR_RRRR_OOOO_RRRR_::::_llll_iiii_nnnn_eeee _tttt_oooo_oooo _llll_oooo_nnnn_gggg
- A line can have no more than 1023 bytes or fields, or there
- is no new-line character.
-
- _UUUU_XXXX_::::_cccc_uuuu_tttt_::::_EEEE_RRRR_RRRR_OOOO_RRRR_::::_bbbb_aaaa_dddd _llll_iiii_ssss_tttt _ffff_oooo_rrrr _cccc_////_ffff _oooo_pppp_tttt_iiii_oooo_nnnn
- Missing _----_cccc or _----_ffff option or incorrectly specified _l_i_s_t. No
- error occurs if a line has fewer fields than the _l_i_s_t calls
- for.
-
- _UUUU_XXXX_::::_cccc_uuuu_tttt_::::_EEEE_RRRR_RRRR_OOOO_RRRR_::::_nnnn_oooo _ffff_iiii_eeee_llll_dddd_ssss
- The _l_i_s_t is empty.
-
- _UUUU_XXXX_::::_cccc_uuuu_tttt_::::_EEEE_RRRR_RRRR_OOOO_RRRR_::::_nnnn_oooo _dddd_eeee_llll_iiii_mmmm_iiii_tttt_eeee_rrrr
- Missing _c_h_a_r on _----_dddd option.
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ccccuuuutttt((((1111)))) ccccuuuutttt((((1111))))
-
-
-
- _UUUU_XXXX_::::_cccc_uuuu_tttt_::::_EEEE_RRRR_RRRR_OOOO_RRRR_::::_cccc_aaaa_nnnn_nnnn_oooo_tttt _hhhh_aaaa_nnnn_dddd_llll_eeee _mmmm_uuuu_llll_tttt_iiii_pppp_llll_eeee _aaaa_dddd_jjjj_aaaa_cccc_eeee_nnnn_tttt _bbbb_aaaa_cccc_kkkk_ssss_pppp_aaaa_cccc_eeee_ssss
- Adjacent backspaces cannot be processed correctly.
-
- _UUUU_XXXX_::::_cccc_uuuu_tttt_::::_WWWW_AAAA_RRRR_NNNN_IIII_NNNN_GGGG_::::_cccc_aaaa_nnnn_nnnn_oooo_tttt _oooo_pppp_eeee_nnnn _<<<<_f_i_l_e_n_a_m_e_>>>>
- Either _f_i_l_e_n_a_m_e cannot be read or does not exist. If
- multiple filenames are present, processing continues.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-